package cn.bossx.org.mapper;

import cn.bossx.basic.mapper.BaseMapper;
import cn.bossx.org.domain.Employee;
import cn.bossx.org.query.EmployeeQuery;
import com.fasterxml.jackson.databind.ser.Serializers;
import org.xmlunit.util.Mapper;

import java.util.List;

/**
 * 操作数据库层的接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee loadByUsername(String username);

    Employee loaloadByPhone(String phone);

    Employee loadByEmail(String email);

    Employee loadByLogininfoId(Long id);
}
